package com.wuyan.locationdog.ui.compass


import androidx.fragment.app.FragmentManager
import com.arcsoft.commonbase.base.BaseBindingActivity
import com.blankj.utilcode.util.BarUtils
import com.wuyan.locationdog.R
import com.wuyan.locationdog.databinding.FragmentContainerBinding


class OneDeviceCompassActivity : BaseBindingActivity<FragmentContainerBinding>() {



    override fun initData() {
        BarUtils.transparentStatusBar(this)


        val fragmentManager: FragmentManager = supportFragmentManager
        val deviceDetailFragment = CompassFragment()
// 创建并添加第一个Fragment
        fragmentManager.beginTransaction()
            .add(R.id.frameLayout, deviceDetailFragment)
            .commit()


    }


}